/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sonth.EL;

/**
 *
 * @author Administrator
 */
public class Product {

    /**
     * desc.
     */
    private int id;
    /**
     * desc.
     */
    private String name;
    /**
     * desc.
     */
    private String description;
    /**
     * desc.
     */
    private int price;

    /**
     * desc.
     * @param pName desc
     * @param pDescription desc
     * @param pPrice desc
     */
    public Product(final String pName,
            final String pDescription, final int pPrice) {
        this.name = pName;
        this.description = pDescription;
        this.price = pPrice;
    }

    /**
     * desc.
     * @param pID desc
     * @param pName desc
     * @param pDescription desc
     * @param pPrice desc
     */
    public Product(final int pID,
            final String pName, final String pDescription, final int pPrice) {
        this.id = pID;
        this.name = pName;
        this.description = pDescription;
        this.price = pPrice;
    }

    /**
     * desc.
     * @return String desc
     */
    public final String getDescription() {
        return description;
    }

    /**
     * desc.
     * @param pDescription desc
     */
    public final void setDescription(final String pDescription) {
        this.description = pDescription;
    }

    /**
     * desc.
     * @return int desc
     */
    public final int getId() {
        return id;
    }

    /**
     * desc.
     * @param pID desc
     */
    public final void setId(final int pID) {
        this.id = pID;
    }

    /**
     * desc.
     * @return String desc
     */
    public final String getName() {
        return name;
    }

    /**
     * desc.
     * @param pName desc
     */
    public final void setName(final String pName) {
        this.name = pName;
    }

    /**
     * desc.
     * @return int desc
     */
    public final int getPrice() {
        return price;
    }

    /**
     * desc.
     * @param pPrice desc
     */
    public final void setPrice(final int pPrice) {
        this.price = pPrice;
    }
}
